<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./assets/css/login.css">
</head>

<body>
    <!-- 登录页开始 -->
    <div class="login">
        <h3>登录</h3>
        <form action="" class="layui-form">
            <!-- 账号 -->
            <div class="layui-form-item">

                <div class="layui-input-block">
                    <input type="text" name="username" required lay-verify="required" placeholder="请输入账号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">

                <div class="layui-input-block">
                    <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!-- 提交 -->
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn layui-btn-primary layui-btn-fluid" lay-submit lay-filter="formDemo">提交</button>

                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <a href="javascript:;" id="register_user">注册</a>

                </div>
            </div>

        </form>
    </div>
    <!-- 登录页结束 -->

    <!-- 注册页开始 -->
    <div class="register">
        <h3>注册</h3>
        <form action="" class="layui-form register_form">
            <!-- 账号 -->
            <div class="layui-form-item">

                <div class="layui-input-block">
                    <input type="text" name="username" required lay-verify="required|username" placeholder="请输入账号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!-- 密码 -->
            <div class="layui-form-item">

                <div class="layui-input-block">
                    <input type="password" id="psd_value" name="password" required lay-verify="required|password" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!-- 再次确认 -->
            <div class="layui-form-item">

                <div class="layui-input-block">
                    <input type="password" required lay-verify="required|same" placeholder="再次输入密码" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!-- 提交 -->
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button id="register_btn" class="layui-btn layui-btn-primary layui-btn-fluid" lay-submit lay-filter="formDemo">注册</button>

                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <a href="javascript:;" id="login_user">登录</a>

                </div>
            </div>

        </form>
    </div>
    <!-- 注册页结束 -->
    <script src="./assets/lib/layui/layui.all.js"></script>
    <script src="./assets/lib/jquery.js"></script>
    <script src="./assets/js/common.js"></script>
    <script src="./assets/js/login.js"></script>
    <script></script>
    <script></script>
</body>

</html>